home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9104 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.7 KB  |  40 lines

  1. Newsgroups: comp.lang.c++
  2. Path: dish.news.pipex.net!pipex!datcon!dab
  3. From: dab@datcon.co.uk (David Barlow)
  4. Subject: Re: Help Wanted: Win95 Visual C++: Getting a Process ID
  5. Message-ID: <1996Feb28.173038.10891@datcon.co.uk>
  6. Organization: Data Connection Limited
  7. X-Newsreader: TIN [version 1.2 PL2]
  8. References: <31320d3e.6676641@news.primenet.com> <313356B0.6258@afrodite.kih.no> <3133d466.340349558@news.primenet.com>
  9. Date: Wed, 28 Feb 1996 17:30:38 GMT
  10.  
  11. Gary Edstrom (gbe@primenet.com) wrote:
  12. : Paul Kenneth Egell-johnsen <paulken4@afrodite.kih.no> wrote:
  13. : On Tue, 27 Feb 1996 20:08:32 +0100, you wrote:
  14.  
  15. : >Gary Edstrom wrote:
  16. : >
  17. : >> What I want to do is as follows:  We have a program that is currently
  18. : >> made up of 4 different processes.  One of the processes is responsible
  19. : >> for starting all of the others.  Before starting any of the child
  20. : >> processes, however, I want to check if they are already running on the
  21. : >> system and if so, to terminate them before performing a new startup.
  22. : >
  23. : >Why would you do that? The user would get pretty pissed if you
  24. : >close down a process which you haven't created (in this
  25. : >program).
  26. : >
  27. : This is not your typical program.  It is the ONLY program running on a
  28. : dedicated hospital based patient EKG monitoring system.  Having a
  29. : watchdog program to keep an eye on all of the other process that it
  30. : has started is a legal requirement for us.  If the watchdog detects
  31. : that one of its child processes has crashed or locked up, it needs to
  32. : clear that process out of memory and restart it.  It CANNOT wait for
  33. : an operator OK.  It MUST be automatic.  If it is unable to restart the
  34. [snip]
  35.  
  36. Is this a joke?   A critical life program running under Win95???
  37.  
  38. David Barlow
  39. dab@datcon.co.uk.
  40.